# python3 dataset.py --data_path=/run/khp/dataset/coco_2017/annotations

import argparse
from ultralytics.data.converter import convert_coco # type: ignore

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description="yolov11 dataset convert")
    parser.add_argument("--data_path", type=str, help="datasetpath")
    args = parser.parse_args()

    convert_coco(labels_dir=args.data_path)